#!/system/bin/sh
echo "DroidVM" >$LINUX_DIR/etc/hostname

cat <<- EOF >   $LINUX_DIR/bin/t
    #!/bin/sh
	TDBASH="/bin/sh"
	TDPORT=5556

    ndkdumpip
    echo ""
    echo "正在启动 telnetd, 侦听端口：\$TDPORT"
    exec ndktelnetd -l \$TDBASH -p \$TDPORT
EOF
chmod a+x $LINUX_DIR/bin/t

(cd $LINUX_DIR/bin && ln -sf busybox sh)
